=========================================================================
Replication code for

Funding of Clinical Trials and Reported Drug Efficacy
by Tamar Oostrom

Production date: February 16, 2024


DATA ACCESS: PUBLICLY AVAILABLE DATA
====================================================================================================
Data on antidepressant clinical trials are available from https://data.mendeley.com/datasets/83rthbp8ys/2 and https://www.thelancet.com/cms/10.1016/S0140-6736(17)32802-7/attachment/4a1a9568-93f3-4b83-b8d6-6209b2808bdc/mmc1.pdf and downloaded in 2018. Additional hand-collected data is also included in this repository. 

Data on antipsychotic clinical trials were hand-collected based on Leucht et al (2013). The original collected data is included in this repository. 

Data on drugs approved by the FDA are available at http://www.fda.gov/Drugs/InformationOnDrugs/ucm142438.htm and were downloaded in 2013. 

The Medical Expenditure Panel Survey (MEPS) is a survey of medical expenditures and drug utilization. These data were downloaded from https://www.meps.ahrq.gov/mepsweb/ for 1996-1999 and 2016 and from https://www.nber.org/research/data/ahrq-medical-expenditure-panel-survey-data-meps for 2000-2015, 2017-2019. The MEPS data were downloaded in 2022 and 2023. 

Clinical Trial Registry data contains information on all clinical trials submitted to ClinicalTrials.gov. These data were downloaded from https://aact.ctti-clinicaltrials.org/pipe_files on September 25, 2019.

For more information on each of these data sources, download links, and dates accessed, please see the documentation in the /raw/ directory. 

HOW TO USE
=========================================================================
The packet is organized into the following folders:

- the /code/ directory stores the scripts we use to create intermediate data files, as well as the master script 
(0_master_script.do). The master script calls all the other scripts and will produce all of the tables, and figures.
- the /derived/ directory stores the intermediate data files. 
- the /figures/ directory stores the original versions of figures used in the paper. 
- the /tables/ directory stores the original versions of tables used in the paper.
- the /raw/ directory contains the initial data files. 

CODE LIBRARIES
=========================================================================
Scripts for the Stata ado files necessary to rerun the results can be found under /code/gslab_tools/. Most but not all of these ado files were developed by members of the Gentzkow-Shapiro Lab. These scripts are automatically imported by the code above. 

